
<div class="container">
    <div class="row">
        <div class="col-sm-6 col-sm-offset-3">
            <h2>Panel Logowania</h2>
            <?php $form = $this->beginWidget('CActiveForm', array('id' => 'login-client-form')); ?>

            <div class="form-group">
                <?php echo $form->labelEx($modelLogin, 'username'); ?>
                <?php echo $form->textField($modelLogin, 'username', array('class' => 'form-control')) ?>
                <?php echo $form->error($modelLogin, 'username') ?>
            </div>

            <div class="form-group">
                <?php echo $form->labelEx($modelLogin, 'password'); ?>
                <?php echo $form->passwordField($modelLogin, 'password', array('class' => 'form-control')) ?>
                <?php echo $form->error($modelLogin, 'password') ?>
            </div>

            <?php echo CHtml::submitButton('Zaloguj się', array('class' => 'btn btn-success')); ?>

            <?php $this->endWidget(); ?>
        </div>
    </div>
</div>